import {
    Controller,
    Get,
    Query,
    Post,
    Body,
    Put,
    Param,
    Delete,
    Bind,
  } from '@nestjs/common';
import { ExcelService } from './excel.service';

@Controller('excel')
export class ExcelController {
  constructor(private excelService: ExcelService) {}
  @Get()
  findAll() {
    return this.excelService.findAll();
  }
  @Post("add")
  addExcel(@Body() addJson) {
    return this.excelService.addExcel(addJson);
  }
}